Pro MEAN Stack Development by Elad Elrom

Pro MEAN Stack Development by Elad Elrom

Author:Elad Elrom
Language: eng
Format: epub, pdf
Publisher: Apress, Berkeley, CA


</div>

Listing 6-7.view2.html includes alert components

We specifically used the code straight from the https://angular-ui.github.io/bootstrap/ tutorial page so you can see how to implement a component. Now you can do the same with every single component on the page on your own, whenever you need them.

Figure 6-10.“angular-seed” with UI Bootstrap alerts

Creating a Custom UI Bootstrap Build

So far we have used two of the UI Bootstrap components: an alert and a group button. However, the entire UI Bootstrap min library is loaded to 121kb, which is a large-sized file for a mere two components. To solve this, UI Bootsrap allows for the creation of custom builds based on the components you are using, instead of loading the entire library. This is a good practice for optimizing your app. 1.To create your own custom build, go to: https://angular-ui.github.io/bootstrap/ and click “Create a Build.”



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.